package com.njit.mailm.core.service;

import com.njit.mailm.core.bean.MessageWrap;
import com.njit.mailm.core.bean.Upload;

import java.util.List;

/**
 * Created by Administrator on 2016/5/4.
 */
public interface SendService {
    /**
     * 发送html邮件
     * @param messageWrap
     * @throws Exception
     */
    void sendHtmlEmail(MessageWrap messageWrap,String draftId) throws Exception;

    /**
     * 发送包含附件的邮件
     * @throws Exception
     */
    void sendAttachmentEmail(MessageWrap msg,List<Upload> attachmentList) throws Exception;

}
